<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>SignUp</title>
</head>
<body style="text-align: center">
<form action="/employee" method="post">
  <input type="hidden" name="action" value="SignUp">
  <input type="text" name="name" placeholder="NAME" required><br>
  <input type="password" name="password" placeholder="PASSWORD" required><br>
  <input type="number" name="age" placeholder="AGE" required><br>
  GENDER:
  <input type="radio" name="gender" value="male">Male
  <input type="radio" name="gender" value="female" checked="checked">Female
  <br>
  <input type="submit" value="SignUp">
</form>
<p style="color: red">
  <%
       String message = (String) session.getAttribute("message");
       if (message != null){
         out.println(message);
       }
  %>
</p>
</body>
</html>